﻿using System;

namespace Generator
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                object[] worldState = { };
                object ghostCode = null;
                object[] mainArgs = { worldState, ghostCode };

                //var man = new ManMain(new FuncsReal());
                var man = new ManMain(new FuncsPrint(new PrinterConsole()));
                var ret = man.GenerateStepFunc(mainArgs);

                //man.MakeStep(null);
                ////object a = 3;
                ////object b = 3;
                ////object c = 15;
                ////object d = 10;
                ////object[] e = { 1, 2, 3 };

                //object res = man.MakeTurn(new[] { a, b, c, d, e });
                //Console.WriteLine("res = {0}", res);
            }
            catch (Exception ex)
            {
                Console.WriteLine("Execution halted: {0}", ex);
            }
        }
    }
}
